package cn.dankal.flyaudio.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import cn.jpush.im.android.api.model.UserInfo;

public class GroupEntity implements Serializable {
    private String header;
    private String footer;
    private List<UserInfo> children;

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public String getFooter() {
        return footer;
    }

    public void setFooter(String footer) {
        this.footer = footer;
    }

    public List<UserInfo> getChildren() {
        if (children == null) {
            return new ArrayList<>();
        }
        return children;
    }

    public void setChildren(List<UserInfo> children) {
        this.children = children;
    }
}
